package model.model04.demo01;

import com.model.model04.demo01.entity.Girl;
import com.model.model04.demo01.proxy.Proxy;

public class Main {
    public static void main(String[] args) {
        Girl girl = new Girl();
        girl.setName("李四");

        Proxy zhangsan = new Proxy(girl);

        zhangsan.giveDolls();
        zhangsan.giveFlowers();
        zhangsan.giveChocolate();

    }
}
